import upload from '@/utils/upload'
import request from '@/utils/request'


export function uploadFile(fileName, filePath) {
	return upload({
	  'url': '/app/common/upload',
	  'filePath': filePath,
	  'formData':{
		  'fileName': fileName
	  }
	})
}


export function editAvatar(params) {
	return request({
		'url': '/app/master/avatar/edit',
		'method': 'get',
		params
	})
}

